package com.mspbots.web.reports.service;


import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.Map;

public interface HealthReportService {


    Mono<JsonNode> listTenant(Map<String, Object> queryParams);


    ObjectNode tenantHealth(ObjectNode health) throws JsonProcessingException;

    Flux<JsonNode> selectTenantAuthority(Map<String, Object> queryParams);

    Mono<JsonNode> queryTenantHealth(Map<String, Object> queryParams);
}
